package com.friday.dao;

import java.util.List;

import com.friday.po.Department;

public interface DepartmentDao {
	int insertDepartment(Department dep) throws Exception;
	int deleteDepartmentById(String id) throws Exception;
	int deleteDepartmentByDepId(String id) throws Exception;
	int updateDepartment(Department dep) throws Exception;
	List<Department> queryAllDepartment() throws Exception;
	Department queryDepartmentById(String id) throws Exception;
	Department queryDepartmentByDepId(String id) throws Exception;
}